﻿using System.Web.Mvc;

namespace SMECustomerWebsite.Controllers
{
    public class TestController : ControllerBase
    {
        //
        // GET: /Test/
        [Authorize]
        public ActionResult Index()
        {
            return View();
        }
        [ChildActionOnly]
        [Authorize]
        public ActionResult GetHtmlPage(string path)
        {
            return new FilePathResult(path, "text/html");
        }
    }
}
